text/template/parse.Tree.errorf (method)

20 uses

	text/template/parse (current package)
		parse.go#L161: func (t *Tree) errorf(format string, args ...any) {
		parse.go#L169: 	t.errorf("%s", err)
		parse.go#L200: 		t.errorf("%s%s", token, extra)
		parse.go#L202: 	t.errorf("unexpected %s in %s", token, context)
		parse.go#L263: 		t.errorf("template: multiple definition of template %q", t.Name)
		parse.go#L315: 			t.errorf("unexpected %s", n)
		parse.go#L337: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L356: 	t.errorf("unexpected EOF")
		parse.go#L422: 		t.errorf("{{break}} outside {{range}}")
		parse.go#L435: 		t.errorf("{{continue}} outside {{range}}")
		parse.go#L471: 					t.errorf("range can only initialize variables")
		parse.go#L474: 			t.errorf("too many declarations in %s", context)
		parse.go#L500: 		t.errorf("missing value for %s", context)
		parse.go#L507: 			t.errorf("non executable command in pipeline stage %d", i+2)
		parse.go#L545: 			t.errorf("expected end; found %s", next)
		parse.go#L617: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L681: 		t.errorf("empty command")
		parse.go#L712: 			t.errorf("unexpected . after term %q", node.String())
		parse.go#L734: 			t.errorf("function %q not defined", token.val)
		parse.go#L793: 	t.errorf("undefined variable %q", v.Ident[0])